<?php
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
// More headers
$headers .= 'From: <admin@shivasoft.in>' . "\r\n";
$headers .= 'Bcc: ilovenagpur@gmail.com' . "\r\n";
$to = "ilovenagpur@gmail.com";
$subject = "Last Class";
$message ="<h1>This is last class</h1>";

if(mail($to,$subject,$message,$headers))
{
	echo "<h1>Email sent!!!</h1>";
}
else
{
	echo "Sending email failed!!!";
}
?>